DOpus (4/96)

From:Neil Bothwick
Date:2 May 2001 at 14:28:59
Subject:Re: [D5] ARexx query

Jonathan Hart said,

> Secondly- the Miami Arexx command GETCONNECTTIME gives back a number in
> seconds. Is there a way in basic ARexx to calculate the time in minutes and
> hours from this number, or for maths functions do I have to use an external
> library, like rexxmathlib? Hmm, must have a look at AA20 again... ;)

Hours = seconds % 3600
Minutes = seconds // 3600 % 60
Seconds = seconds // 60

Cheers

Neil



Neil Bothwick - New Media Editor, Amiga Active Magazine

C Error #029: Well! I'm impressed



Email majordomo@lss.com.au with 'help' in the body for help.
Members posting binaries to the mailing list will be removed!